export default {
    data: {
        color: 'blue'
    },
    onShow() {
        // 设置不使用上拉加载更多功能
        this.$child("refreshLoadMoreComponent").isShowLoadMoreViewFunc(false);
    },
    onRefresh(e) {
        var that = this
        setTimeout(() => {
            that.color = "#" + Math.random().toString(16).substr(2, 6)
            e.detail.resolveFunc()
        }, 1000)
    }
}
